<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>提交订单</title>
    <include file="Template/head"/>

<body>
<div class="actNav">
    <div class="doRefresh">提交订单</div>
    <a href="javascript:history.go(-1);" class="back"></a>
    <a href="{:U('Index/index')}" class="home"></a>
</div>
<div class="wapper">
    <div class="module ckOrder">
        <div class="top">
            <h2 class="ht"><a href="#">{$list.name}</a></h2>

            <div class="it clearfix">
                <span class="lb pull-left">成人<em>（常规）</em></span>
                    <span class="price pull-right">同行价：
                        <dfn>&yen;</dfn>
                        <span class="org priceAdultList">
                            {$list.price_adult|getYuan}
                        </span>/人
                    </span>
            </div>
            <div class="it clearfix">
                <span class="lb pull-left">儿童<em>（常规）</em></span>
                    <span class="price pull-right">同行价：
                        <dfn>&yen;</dfn>
                        <span class="org priceChildList">
                            {$list.price_child|getYuan}
                        </span>/人
                    </span>
            </div>
        </div>
        <div class="wbox bgwhite">
            <p class="t">确认出团日期</p>

            <div class="form-inline">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">出团日期</div>
                        <input value="{$list.start_time|substr=0,10}" class="form form-control" disabled>
                    </div>
                </div>
            </div>
        </div>
        <div class="wbox bgpur">
            <p class="t">选择出行人数及类型</p>

            <div class="selnum">
                <div class="item">
                    <label>成人<em>（常规）</em></label>

                    <div class="num adult clearfix">
                        <input type="text" class="txt adultTotal" id="adult" value="{$list.client_adult_count}"
                               name="client_adult_count" disabled/>
                    </div>
                </div>
                <div class="item">
                    <label>儿童<em>（常规）</em></label>

                    <div class="num child clearfix">
                        <if condition="$list['client_child_count'] neq 0">
                            <input type="text" id="child" class="txt childTotal" value="{$list.client_child_count}"
                                   name="client_child_count" disabled/>
                            <else/>
                            <input type="text" id="child" class="txt childTotal" value="0" name="client_child_count"
                                   disabled/>
                        </if>
                    </div>
                </div>
            </div>
        </div>
        <div class="wbox bgwhite" style="margin-top:0px; border-top:none;">
            <p class="t">可选资源</p>

            <div class="form-inline">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">单房差</div>
                        <if condition="$list['hotel_count'] neq 0">
                            <input type="text" id="hotelCount" class="form-control nb" value="{$list.hotel_count}"
                                   name="hotel_count" disabled/>

                            <div class="input-group-addon org">&yen;{$list.price_hotel|getYuan}/份 (每晚)</div>
                            <else/>
                            <input type="text" id="hotelCount" class="form-control nb" value="0" name="hotel_count"
                                   disabled/>

                            <div class="input-group-addon org">&yen;{$list.price_hotel|getYuan}/份 (每晚)</div>
                        </if>
                    </div>
                </div>
            </div>
        </div>
        <div class="wbox bgpur">
            <p class="t">预定信息</p>

            <div class="form-inline preorder">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon pt">联系人</div>
                        <input type="text" id="contacts" class="form-control nb" name="contacts" placeholder="必填"
                               value="{$list.contacts}" disabled/>
                    </div>
                </div>
            </div>
            <div class="form-inline preorder">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon pt">手机</div>
                        <input type="text" id="phone" class="form-control nb" placeholder="输入11位手机号码"
                               name="contact_phone" value="{$list.contact_phone}" disabled/>
                    </div>
                </div>
            </div>
            <div class="form-inline preorder last">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon pt">订单备注</div>
                        <input type="text" id="remark" class="form-control nb" name="memo" disabled>
                    </div>
                </div>
            </div>
        </div>
        <div class="wbox bgwhite">
            <if condition="$couponStatus eq '1'">
                <div class="wbox bgwhite" style="margin-top:0px; border-top:none;border-bottom: 1px dashed #ddd">
                    <div class="selnum">
                        <div class="item" style="padding-left:0px;">
                            <div class="num hotel clearfix">
                                <span style="color:#fc8b2e; margin-left:10px; margin-top:2px;" class="pull-left">(您已使用 1 张 {$couponInfo.name})</span>
                            </div>
                        </div>
                    </div>
                </div>
                <p>&nbsp;</p>
                <else/>
            </if>
            <div class="ordertotal clearfix">
                <span class="pull-left">订单总额：</span>
                <span class="price pull-right">&yen;{$list.price_total|getYuan}</span>
            </div>
        </div>
    </div>
    <footer class="footer">
        <include file="Template/foot"/>
    </footer>
</div>
</body>
</html>
